﻿
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.Production
{
    /// <summary>
    /// 领料主表（聚合根）
    /// </summary>
    [Table("tb_MaterialRequisition")]
    public class MaterialRequisition : AuditedEntity<int>, ISoftDelete
    {
        /// <summary>
        /// 领料单名称
        /// </summary>
        public string Materialrequisitionname { get; set; }

        /// <summary>
        /// 领料单编号
        /// </summary>
        public string Materialrequisitioncode { get; set; }

        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime Materialrequisitiondate { get; set; }

        /// <summary>
        /// 领料人
        /// </summary>
        public string Person { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary>
        public string Workordername { get; set; }

        /// <summary>
        /// 工单编号
        /// </summary>
        public string Workordercode { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string Taskname { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string Taskcode { get; set; }

        /// <summary>
        /// 工艺路线
        /// </summary>
        public string Processroute { get; set; }

        /// <summary>
        /// 工序名称
        /// </summary>
        public string Processname { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; } = false;

        /// <summary>
        /// 逻辑删
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }

    
}
